﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Slock.Utility
{
    /// <summary>
    /// Defines several block types
    /// </summary>
    public enum BlockTypes : byte
    {
        /// <summary>
        /// Represents an empty block space, or "air"
        /// </summary>
        None = 0,
        /// <summary>
        /// Represents a block made of dirt
        /// </summary>
        Dirt = 1,
        /// <summary>
        /// Represents a block made of grass
        /// </summary>
        Grass = 2
    }

    /// <summary>
    /// A bitfield that represents the visible faces of a cube
    /// </summary>
    [Flags]
    public enum BlockFace : byte
    {
        /// <summary>
        /// Top face
        /// </summary>
        Top     = 0x00000001,
        /// <summary>
        /// Bottom face
        /// </summary>
        Bottom  = 0x00000002,
        /// <summary>
        /// left face
        /// </summary>
        Left    = 0x00000004,
        /// <summary>
        /// Right face
        /// </summary>
        Right   = 0x00000008,
        /// <summary>
        /// Front face
        /// </summary>
        Front   = 0x00000010,
        /// <summary>
        /// Back face
        /// </summary>
        Back    = 0x00000020
    }
}
